/* 
 * @(#)UTF8.java    Created on Sep 30, 2009
 * Copyright (c) 2009 ZDSoft Networks, Inc. All rights reserved.
 * $Id$
 */
package bjxg.test.String;

import java.net.URLDecoder;

/**
 * @author chengcy
 * @version $Revision: 1.0 $, $Date: Sep 30, 2009 11:09:50 AM $
 */
public class UTF8 {

    /**
     * @param args
     */
    public static void main(String[] args) {
        String str = "%E5%86%AF%E7%BB%8D%E5%B3%B0%E8%90%A8%E8%8A%AC%E7%9A%84%E6%92%92%E6%97%A6%E5%8F%91%E5%B0%84%40%23%EF%BF%A5%2545646%5B%E6%BC%94%E7%A4%BA%E5%AD%A6%E6%A0%A1%E6%9D%8E%E4%BA%91%5D";
        String str2 = null;
        try {
            System.out.println(URLDecoder.decode(str, "UTF-8"));
        }
        catch (Exception e) {
            // TODO Auto-generated catch block
            e.printStackTrace();
        }
    }
}
